<!--
  @author wangxiaokun
  @date 2021-03-15 18:25:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>可用优惠信息</title>
    <th:block th:replace="common/common :: jscss"/>
    <style>
        body {
            background-color: white !important;
        }
        .text-step {
            margin-top: 10px;
        }
        .layui-form-select dl {
            max-height: 185px;
        }
        .first-col {
            background-color: #F2F2F2;
            height: 26px;
            text-align: center;
            padding-top: 8px;
            width: 1096px;
        }
        .non-data {
            height: 26px;
            text-align: center;
            margin: 15px 0px;
            width: 1096px;
        }
        .title-item {
            margin-bottom: -1px !important;
        }
        .layui-btn-primary {
            border: 1px solid #C9C9C9;
            background-color: #AEAEAE;
            color: #DFDFDF;
        }
    </style>
</head>
<body>
<form class="layui-form" action="" method="post">
    <input type="hidden" name="orderId" th:value="${orderId}"/>
    <input type="hidden" name="workId" th:value="${workId}"/>
    <input type="hidden" name="masterId" th:value="${masterId}"/>
    <input type="hidden" name="visitId" th:value="${visitId}"/>
    <div class="layui-row">
        <div class="layui-col-md12">
            <div class="layui-form-item" id="reason">
                <label class="layui-form-label">取消缘由：</label>
                <div class="layui-input-block layui-col-space10">
                    <div class="layui-col-md4" th:each="reason:${cancelList}">
                        <input th:title="${reason.text}" name="reason" th:value="${reason.value}"
                               lay-filter="reason"
                               type="checkbox"
                               lay-skin="primary"
                               th:checked="${reason.selected}"
                               th:disabled="${reason.disabled}"
                               title="取消缘由">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item" >
        <div class="layui-col-md12">
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <textarea id="remark" lay-filter="remark" class="layui-textarea"></textarea>
                </div>
                <div class="layui-input-block">
                    取消再次上门指：取消工程师发起的再次上门申请
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="button" class="layui-btn" lay-submit lay-filter="save" style="width: 100px" value="保存"></input>
            <br>
            <span>
                    1、取消不退还定金或进度款<br>
                    2、取消后不可撤回，若需再次上门，请工程师重新发起
            </span>
        </div>
    </div>
</form>
<script th:inline="javascript">
    layui.config({
        base: "/static/js/module/",
        version: 20221013001
    }).extend({
        oms_work_modify_cancel_multiple_visit: "work/modify/zmn.oms.work.modify.cancel.multiple.visit"
    }).use(['index', 'oms_work_modify_cancel_multiple_visit']);
</script>

</body>
</html>